<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox">
                <div class="auto-height-box">
                    <div class="ibox-title">
                        <h5>{$page_title}</h5>
                    </div>
                    <div class="ibox-content">
                        <form class="form-horizontal" method="post" action="{:url('TenTenantConfig/editTenantInfo')}">
                            <input type="hidden" name="id" value="{$info.id|default=''}">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{:lang('公司名称')}</label>
                                <div class="col-sm-10">
                                    <input name="company" class="form-control" type="text" value="{$info.company|default=''}"/>
                                    <span class="help-block m-b-none"></span> </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{:lang('联系人')}</label>
                                <div class="col-sm-10">
                                    <input name="linkman" class="form-control" type="text" placeholder="{:lang('联系人')}" value="{$info.linkman|default=''}"/>
                                    <span class="help-block m-b-none"></span> </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{:lang('手机')}</label>
                                <div class="col-sm-10">
                                    <input name="mobile" class="form-control" type="text" placeholder="{:lang('手机号码')}" value="{$info.mobile|default=''}"/>
                                    <span class="help-block m-b-none"></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{:lang('邮箱')}</label>
                                <div class="col-sm-10">
                                    <input name="email" class="form-control" type="text" placeholder="{:lang('邮箱')}" value="{$info.email|default=''}"/>
                                    <span class="help-block m-b-none"></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{:lang('传真')}</label>
                                <div class="col-sm-10">
                                    <input name="fax" class="form-control" type="text" placeholder="{:lang('传真')}" value="{$info.fax|default=''}"/>
                                    <span class="help-block m-b-none"></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{:lang('联系地址')}</label>
                                <div class="col-sm-10">
                                    <input name="address" class="form-control" type="text" placeholder="{:lang('address')}" value="{$info.address|default=''}"/>
                                    <span class="help-block m-b-none"></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{:lang('形象图')}</label>
                                <div class="col-sm-10">
                                    {assign name="logopic" value="$info.logopic|default=''" /}
                                    {:hook('File', ['name' => 'logopic', 'value' => $logopic, 'type' => 'imgpath', 'addons_model' => 'plat'])}

                                    <span class="help-block m-b-none"></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">{:lang('系统主页')}</label>
                                <div class="col-sm-10">
                                    <input type="text" name="system_default_url" class="form-control" value="{$info.system_default_url|default=''}">
                                    <span class="help-block m-b-none"></span>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">{:lang('描述')}</label>
                                <div class="col-sm-10">
                                    <textarea name="remark" class="form-control" cols="80" rows="2"></textarea>
                                    <span class="help-block m-b-none"></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-offset-2 col-sm-10">
                                    {include file="admin@layout/save_btn"}
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>